package com.fulihui.common.enums;

/**
 * 素材类型
 *
 * @author wang_wx
 * @date 2018-07-04
 */
public enum MaterialTypeEnum implements BaseEnum {

    image("image", "图片"),
    thumb("thumb", "缩略图"),
    video("video", "视频"),
    voice("voice", "语音"),
    news("news", "图文");

    private String code;
    private String desc;

    MaterialTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
